CKM_ENCODE_ATTRIBUTES
This section provides a summary of CKM_ENCODE_ATTRIBUTES.
Supported operations
Operation | Supported |
---|---|
Encrypt and Decrypt | No |
Sign and Verify | No |
SignRecover and VerifyRecover | No |
Digest | No |
Generate Key/Key-Pair | No |
Wrap and Unwrap | Yes |
Derive | No |
FIPS Mode support
Available in FIPS Mode | Restrictions in FIPS Mode |
---|---|
Yes | None |
Key Size Range and Parameters
Key size minimum/maximum | Value |
---|---|
Minimum | 0 |
FIPS Minimum | 0 |
Maximum | None |
Parameter
None
Mechanism description
This wrapping mechanism takes the attributes of an object and encodes them. The encoding is not encrypted therefore the wrapping key object handle parameter is ignored.
If the object is sensitive then only non-sensitive attributes of the object are encoded. The encoding format is a simple proprietary encoding with the attribute type, length, a value presence indicator (Boolean) and the attribute value. This simple encoding format is used wherever BER or DER is not required.
Return to ProtectToolkit-C mechanisms.